

let num = 9;
let arr = [1, 2, 3, 4];
let fun2 = function () { 
    console.log('第二js文件模块')
}

export { num, arr, fun2 };

console.log('*****************************')


// 加载默认导出
import box1 from "./logger.js"
box1();


import * as showAll from "./logger.js";

console.log("js文件中导入加载其他模块" + showAll.num)